Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

143
Vistas
HTML input="file" accept only from certain paths

I have a web page that allow to upload a file via the basic <input type=file /> I know that with javascript there's no way to get the full path after selection but .. is there a way to ACCEPT files only from certain paths, as I do with extensions (*.jpg, etc)?

I'm in a Windows systems intranet scenario and for security issues, the file I have to upload cannot be uploaded from any folder but only from a network share that contains read-only files written and authorized by administrators

Thanks in advance

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

No. And even if there was, how would you specify those paths for Windows/Mac/Linux systems. What about network attached volumes? You can only "suggest" mime-types/extensions and the file dialog is 100% up to the user.

about 4 years ago · Juan Pablo Isaza Denunciar

0

No. That is not a feature that browsers provide.

Nor would it be one that makes much sense in the context of the WWW as local file paths are custom to different systems.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda